package cn.woniu.wxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @TableName user
 */
@TableName(value ="t_customers")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id")
    private Integer id;

    private Integer jobId;

    /**
     * 用户名
     */
    @TableField(value = "c_name")
    private String userName;

    /**
     * 账号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;
    private String role;

    private String phone;

    private List<Authentication> auths;

    private Integer userType; //用户类型



    private Job jobs;
}